package com.cskaoyan.service;

import com.cskaoyan.bean.UserData;
import com.cskaoyan.bean.bo.UserUpdateBo;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.po.BoardPo;
import com.cskaoyan.bean.vo.BoardVo;
import com.cskaoyan.bean.vo.TVO;
import com.cskaoyan.bean.vo.UserDetailVo;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;

public interface UserService {
    UserData query( BaseParam param, String username, String mobile);

    BoardVo queryCountForBoard();

    UserDetailVo queryUserDetailById(Integer id);

    TVO queryAddress(BaseParam param, Integer userId, String name);

    TVO queryCollect(BaseParam param, Integer userId, Integer valueId);

    TVO queryFootprint(BaseParam param, Integer userId, Integer goodsId);

    TVO queryHistory(BaseParam param, Integer userId, String keyword);

    TVO queryFeedback(BaseParam param, String username, Integer id);

    TVO queryRegion();

    void updateUserInfo(UserUpdateBo userUpdateBo);
}
